﻿//-----------------------------------------------------------------------
// <copyright file="App.xaml.cs" company="Ucodia">
//     Copyright © Ucodia. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

using System.Windows;

namespace Ucodia.LocaliZune.SettingsEditor
{
    /// <summary>
    /// Represents the LocaliZune configuration editor application.
    /// </summary>
    public partial class App : Application
    {
        /// <summary>
        /// Raises the <see cref="E:System.Windows.Application.Startup"/> event.
        /// </summary>
        /// <param name="e">A <see cref="T:System.Windows.StartupEventArgs"/> that contains the event data.</param>
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            this.MainWindow = new EditorWindow();
            this.MainWindow.Show();

            this.ShutdownMode = ShutdownMode.OnMainWindowClose;
        }
    }
}
